package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_tongtian_user_upgrade", autoSave = true,uploadCk = true,desc = "激斗通天塔-玩家升级")
public class LogClimbTowerUserUpgrade extends ServerBaseLog{

    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    int activityId;

    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    long userId;

    @FieldTypeAnnotation(desc = "当前层数（变更前）")
    int cellNum;

    @FieldTypeAnnotation(desc = "变更前等级")
    int beforeLv;

    @FieldTypeAnnotation(desc = "变更后等级")
    int afterLv;

    @FieldTypeAnnotation(desc = "变更前实力值")
    String beforeAbility;

    @FieldTypeAnnotation(desc = "变更后实力值")
    String afterAbility;

    @FieldTypeAnnotation(desc = "变更前经验值")
    String beforeExp;

    @FieldTypeAnnotation(desc = "变更后经验值")
    String afterExp;


    public LogClimbTowerUserUpgrade(int activityId, long userId, int cellNum, int beforeLv, int afterLv, String beforeAbility, String afterAbility, String beforeExp, String afterExp) {
        this.activityId = activityId;
        this.userId = userId;
        this.cellNum = cellNum;
        this.beforeLv = beforeLv;
        this.afterLv = afterLv;
        this.beforeAbility = beforeAbility;
        this.afterAbility = afterAbility;
        this.beforeExp = beforeExp;
        this.afterExp = afterExp;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCellNum() {
        return cellNum;
    }

    public void setCellNum(int cellNum) {
        this.cellNum = cellNum;
    }

    public int getBeforeLv() {
        return beforeLv;
    }

    public void setBeforeLv(int beforeLv) {
        this.beforeLv = beforeLv;
    }

    public int getAfterLv() {
        return afterLv;
    }

    public void setAfterLv(int afterLv) {
        this.afterLv = afterLv;
    }

    public String getBeforeAbility() {
        return beforeAbility;
    }

    public void setBeforeAbility(String beforeAbility) {
        this.beforeAbility = beforeAbility;
    }

    public String getAfterAbility() {
        return afterAbility;
    }

    public void setAfterAbility(String afterAbility) {
        this.afterAbility = afterAbility;
    }

    public String getBeforeExp() {
        return beforeExp;
    }

    public void setBeforeExp(String beforeExp) {
        this.beforeExp = beforeExp;
    }

    public String getAfterExp() {
        return afterExp;
    }

    public void setAfterExp(String afterExp) {
        this.afterExp = afterExp;
    }
}
